package com.huatai.xxljob.dto;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.*;

/**
 * @author gusiyi
 * @version 1.0
 * @className XxlJobDTO
 * @description 描述：
 * @date 2024/7/2 16:17
 */
@Data
@ApiModel("xxljob入参类")
public class XxlJobDTO {

	@ApiModelProperty("执行器id")
	private Integer jobGroup;

	@ApiModelProperty("任务描述")
	private String jobDesc;

	@ApiModelProperty("负责人名称")
	private String author;

	@ApiModelProperty("当前页")
	private Integer pageIndex;

	@ApiModelProperty("显示条数")
	private Integer pageSize;

	@ApiModelProperty("任务id")
	private Integer id;

	@ApiModelProperty("任务参数")
	private String executorParam;

	@ApiModelProperty("执行器地址列表")
	private String addressList;

	@ApiModelProperty("脚本代码")
	private String glueSource;

	@ApiModelProperty("脚本版本备注")
	private String glueRemark;

}
